﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using JigLibX.Math;
using JigLibX.Physics;
using JigLibX.Geometry;
using JigLibX.Collision;

using ProceduralGolf.physics;

namespace ProceduralGolf
{
    class Flag : CylinderObject
    {

        const float length = 20.0f;
        public CollisionSkin Skin { get { return skin; } }
        
        public Flag(Game game, Vector3 position)
            : base(game, position + Vector3.UnitY *length/2, 0.5f, length)
        {
            Body.Immovable = true;
         }

    }
}
